package cn.com.dcsgo.model;

import cn.com.dcsgo.domain.OrderItem;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 按店铺分组的订单信息
 *
 * @author Dcsgo
 * @since 2025/11/17 9:37
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "按店铺分组的订单信息")
public class ShopOrder {
    /**
     * 店铺ID
     */
    @Schema(description = "店铺ID")
    private Long shopId;
    /**
     * 店铺名称
     */
    @Schema(description = "店铺名称")
    private String shopName;
    /**
     * 店铺下的商品列表
     */
    @Schema(description = "店铺下的商品列表")
    private List<OrderItem> shopOrderItems;
}
